package part10_代理模式_调用目标对象.p02_动态代理;


/**
 * @ClassName: TeacherDao
 * @Author: AllenSun
 * @Date: 2020/3/3 20:42
 */
public class TeacherDao implements ITeacherDao {
    @Override
    public void teach() {
        System.out.println("老师授课中...");
    }

    @Override
    public void sayHello(String name) {
        System.out.println("hello"+name);
    }
}
